package com.alks.function.data.request.factoryquery;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Setter
@Getter
@NoArgsConstructor
public class AcMtlAccHeadRequest extends PageParam {
    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "分类")
    private String mtlType;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "入库时间始")
    private LocalDate recStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "入库时间末")
    private LocalDate recEndDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "出库时间始")
    private LocalDate traStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "出库时间末")
    private LocalDate traEndDate;

    @ApiModelProperty(value = "材料名字")
    private String mtlName;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "库位")
    private String stkPosition;

    @ApiModelProperty(value = "库存（大于零输入1，等于零输入0）")
    private Integer stkQty;
}
